home *** CD-ROM | disk | FTP | other *** search
/ Programmer Plus 2007 / Programmer-Plus-2007.iso / Programming / SQL and Data Base / Logic Works ERwin 3.5 / data.1 / ERTMPL32.DLL / RCDATA / 1037 < prev    next >
Unknown  |  1998-01-30  |  7.1 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default
100% xdgMime text/x-matlab default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 00 00 00 25 25 00 45 | 78 61 6d 70 6c 65 3a 0d |%...%%.E|xample:.|
|00000010| 0a 64 65 6c 65 74 65 20 | 66 72 6f 6d 20 25 25 43 |.delete |from %%C|
|00000020| 68 69 6c 64 0d 0a 0d 0a | 45 78 70 61 6e 73 69 6f |hild....|Expansio|
|00000030| 6e 3a 0d 0a 64 65 6c 65 | 74 65 20 66 72 6f 6d 20 |n:..dele|te from |
|00000040| 25 43 68 69 6c 64 00 25 | 25 00 4c 6f 6f 6b 75 70 |%Child.%|%.Lookup|
|00000050| 00 01 00 25 4c 6f 6f 6b | 75 70 28 3c 66 69 6c 65 |...%Look|up(<file|
|00000060| 6e 61 6d 65 3e 2c 3c 65 | 78 70 72 3e 29 00 52 65 |name>,<e|xpr>).Re|
|00000070| 61 64 73 20 61 20 6c 6f | 6f 6b 75 70 20 74 61 62 |ads a lo|okup tab|
|00000080| 6c 65 20 66 72 6f 6d 20 | 74 68 65 20 66 69 6c 65 |le from |the file|
|00000090| 20 3c 66 69 6c 65 6e 61 | 6d 65 3e 2e 20 20 54 68 | <filena|me>. Th|
|000000a0| 65 20 66 69 6c 65 20 6d | 75 73 74 20 63 6f 6e 74 |e file m|ust cont|
|000000b0| 61 69 6e 20 74 77 6f 20 | 63 6f 6c 75 6d 6e 73 20 |ain two |columns |
|000000c0| 2d 20 74 68 65 20 66 69 | 72 73 74 20 63 6f 6e 74 |- the fi|rst cont|
|000000d0| 61 69 6e 69 6e 67 20 61 | 20 70 61 74 74 65 72 6e |aining a| pattern|
|000000e0| 20 73 74 72 69 6e 67 20 | 61 6e 64 20 74 68 65 20 | string |and the |
|000000f0| 73 65 63 6f 6e 64 20 63 | 6f 6e 74 61 69 6e 69 6e |second c|ontainin|
|00000100| 67 20 61 20 73 74 72 69 | 6e 67 20 74 6f 20 73 75 |g a stri|ng to su|
|00000110| 62 73 74 69 74 75 74 65 | 20 66 6f 72 20 74 68 65 |bstitute| for the|
|00000120| 20 70 61 74 74 65 72 6e | 2e 0d 0a 0d 0a 54 68 65 | pattern|.....The|
|00000130| 20 66 69 72 73 74 20 61 | 6e 64 20 73 65 63 6f 6e | first a|nd secon|
|00000140| 64 20 63 6f 6c 75 6d 6e | 73 20 61 72 65 20 64 65 |d column|s are de|
|00000150| 6c 69 6d 69 74 65 64 20 | 62 79 20 61 20 63 6f 6d |limited |by a com|
|00000160| 6d 61 20 61 6e 64 20 74 | 68 65 20 73 65 63 6f 6e |ma and t|he secon|
|00000170| 64 20 63 6f 6c 75 6d 6e | 20 69 73 20 65 6e 64 65 |d column| is ende|
|00000180| 64 20 62 79 20 61 20 63 | 61 72 72 69 61 67 65 20 |d by a c|arriage |
|00000190| 72 65 74 75 72 6e 2e 20 | 20 54 68 69 73 20 6d 61 |return. | This ma|
|000001a0| 63 72 6f 20 74 68 65 6e | 20 67 6f 65 73 20 74 68 |cro then| goes th|
|000001b0| 72 6f 75 67 68 20 65 61 | 63 68 20 72 6f 77 20 6f |rough ea|ch row o|
|000001c0| 66 20 74 68 65 20 6c 6f | 6f 6b 75 70 20 74 61 62 |f the lo|okup tab|
|000001d0| 6c 65 20 61 6e 64 20 72 | 65 70 6c 61 63 65 73 20 |le and r|eplaces |
|000001e0| 65 61 63 68 20 6f 63 63 | 75 72 72 65 6e 63 65 20 |each occ|urrence |
|000001f0| 6f 66 20 74 68 65 20 70 | 61 74 74 65 72 6e 20 77 |of the p|attern w|
|00000200| 69 74 68 20 74 68 65 20 | 73 75 62 73 74 69 74 75 |ith the |substitu|
|00000210| 74 65 20 76 61 6c 75 65 | 2e 0d 0a 0d 0a 42 61 73 |te value|.....Bas|
|00000220| 69 63 20 53 79 6e 74 61 | 78 3a 0d 0a 25 4c 6f 6f |ic Synta|x:..%Loo|
|00000230| 6b 75 70 28 3c 66 69 6c | 65 6e 61 6d 65 3e 2c 3c |kup(<fil|ename>,<|
|00000240| 65 78 70 72 3e 29 0d 0a | 00 25 4c 6f 6f 6b 75 70 |expr>)..|.%Lookup|
|00000250| 28 3c 66 69 6c 65 6e 61 | 6d 65 3e 2c 3c 65 78 70 |(<filena|me>,<exp|
|00000260| 72 3e 29 00 41 74 74 4e | 61 6d 65 00 02 00 25 41 |r>).AttN|ame...%A|
|00000270| 74 74 4e 61 6d 65 00 42 | 61 73 69 63 20 53 79 6e |ttName.B|asic Syn|
|00000280| 74 61 78 3a 0d 0a 25 41 | 74 74 4e 61 6d 65 0d 0a |tax:..%A|ttName..|
|00000290| 0d 0a 42 61 73 69 63 20 | 53 79 6e 74 61 78 20 45 |..Basic |Syntax E|
|000002a0| 78 61 6d 70 6c 65 3a 0d | 0a 25 46 6f 72 45 61 63 |xample:.|.%ForEac|
|000002b0| 68 41 74 74 28 29 20 7b | 0d 0a 20 20 20 20 25 41 |hAtt() {|.. %A|
|000002c0| 74 74 4e 61 6d 65 0d 0a | 7d 0d 0a 0d 0a 45 78 70 |ttName..|}....Exp|
|000002d0| 61 6e 73 69 6f 6e 3a 0d | 0a 6d 61 73 74 65 72 2d |ansion:.|.master-|
|000002e0| 6e 75 6d 62 65 72 0d 0a | 6d 6f 76 69 65 2d 63 6f |number..|movie-co|
|000002f0| 70 79 2d 6e 75 6d 62 65 | 72 0d 0a 67 65 6e 65 72 |py-numbe|r..gener|
|00000300| 61 6c 2d 63 6f 6e 64 69 | 74 69 6f 6e 0d 0a 00 25 |al-condi|tion...%|
|00000310| 41 74 74 4e 61 6d 65 00 | 50 61 72 65 6e 74 41 74 |AttName.|ParentAt|
|00000320| 74 73 00 03 00 25 50 61 | 72 65 6e 74 41 74 74 73 |ts...%Pa|rentAtts|
|00000330| 28 29 00 42 61 73 69 63 | 20 53 79 6e 74 61 78 3a |().Basic| Syntax:|
|00000340| 0d 0a 25 50 61 72 65 6e | 74 41 74 74 73 28 29 0d |..%Paren|tAtts().|
|00000350| 0a 0d 0a 42 61 73 69 63 | 20 53 79 6e 74 61 78 20 |...Basic| Syntax |
|00000360| 45 78 61 6d 70 6c 65 3a | 0d 0a 25 50 61 72 65 6e |Example:|..%Paren|
|00000370| 74 41 74 74 73 28 29 0d | 0a 45 78 70 61 6e 73 69 |tAtts().|.Expansi|
|00000380| 6f 6e 3a 0d 0a 6d 61 73 | 74 65 72 5f 6e 75 6d 62 |on:..mas|ter_numb|
|00000390| 65 72 2c 20 6d 6f 76 69 | 65 5f 63 6f 70 79 5f 6e |er, movi|e_copy_n|
|000003a0| 75 6d 62 65 72 2c 20 67 | 65 6e 65 72 61 6c 5f 63 |umber, g|eneral_c|
|000003b0| 6f 6e 64 69 74 69 6f 6e | 0d 0a 0d 0a 46 75 6c 6c |ondition|....Full|
|000003c0| 20 53 79 6e 74 61 78 3a | 0d 0a 25 50 61 72 65 6e | Syntax:|..%Paren|
|000003d0| 74 41 74 74 73 28 3c 73 | 65 70 61 72 61 74 6f 72 |tAtts(<s|eparator|
|000003e0| 3e 2c 3c 66 75 6e 63 74 | 69 6f 6e 3e 2c 3c 70 72 |>,<funct|ion>,<pr|
|000003f0| 65 66 69 78 3e 29 0d 0a | 0d 0a 46 75 6c 6c 20 53 |efix>)..|..Full S|
|00000400| 79 6e 74 61 78 20 45 78 | 61 6d 70 6c 65 3a 0d 0a |yntax Ex|ample:..|
|00000410| 25 50 61 72 65 6e 74 41 | 74 74 73 28 22 20 6f 72 |%ParentA|tts(" or|
|00000420| 20 22 2c 75 70 64 61 74 | 65 2c 25 50 61 72 65 6e | ",updat|e,%Paren|
|00000430| 74 29 0d 0a 45 78 70 61 | 6e 73 69 6f 6e 3a 0d 0a |t)..Expa|nsion:..|
|00000440| 75 70 64 61 74 65 28 4d | 4f 56 49 45 5f 43 4f 50 |update(M|OVIE_COP|
|00000450| 59 2e 6d 61 73 74 65 72 | 5f 6e 75 6d 62 65 72 29 |Y.master|_number)|
|00000460| 20 6f 72 0d 0a 75 70 64 | 61 74 65 28 4d 4f 56 49 | or..upd|ate(MOVI|
|00000470| 45 5f 43 4f 50 59 2e 6d | 6f 76 69 65 5f 63 6f 70 |E_COPY.m|ovie_cop|
|00000480| 79 5f 6e 75 6d 62 65 72 | 29 20 6f 72 20 75 70 64 |y_number|) or upd|
|00000490| 61 74 65 28 4d 4f 56 49 | 45 5f 43 4f 50 59 2e 67 |ate(MOVI|E_COPY.g|
|000004a0| 65 6e 65 72 61 6c 5f 63 | 6f 6e 64 69 74 69 6f 6e |eneral_c|ondition|
|000004b0| 29 00 25 50 61 72 65 6e | 74 41 74 74 73 28 22 2c |).%Paren|tAtts(",|
|000004c0| 20 22 2c 2c 69 6e 73 65 | 72 74 65 64 5f 29 00 50 | ",,inse|rted_).P|
|000004d0| 61 72 65 6e 74 41 74 74 | 00 04 00 25 50 61 72 65 |arentAtt|...%Pare|
|000004e0| 6e 74 41 74 74 28 29 00 | 42 61 73 69 63 20 53 79 |ntAtt().|Basic Sy|
|000004f0| 6e 74 61 78 3a 0d 0a 25 | 50 61 72 65 6e 74 41 74 |ntax:..%|ParentAt|
|00000500| 74 28 3c 61 74 74 72 69 | 62 75 74 65 20 6d 61 63 |t(<attri|bute mac|
|00000510| 72 6f 3e 29 0d 0a 0d 0a | 42 61 73 69 63 20 53 79 |ro>)....|Basic Sy|
|00000520| 6e 74 61 78 20 45 78 61 | 6d 70 6c 65 3a 0d 0a 25 |ntax Exa|mple:..%|
|00000530| 46 6f 72 45 61 63 68 46 | 4b 41 74 74 28 29 20 7b |ForEachF|KAtt() {|
|00000540| 25 50 61 72 65 6e 74 41 | 74 74 28 25 46 69 65 6c |%ParentA|tt(%Fiel|
|00000550| 64 4e 61 6d 65 29 7d 0d | 0a 45 78 70 61 6e 73 69 |dName)}.|.Expansi|
|00000560| 6f 6e 3a 0d 0a 6d 61 73 | 74 65 72 5f 6e 75 6d 62 |on:..mas|ter_numb|
|00000570| 65 72 2c 20 6d 6f 76 69 | 65 5f 63 6f 70 79 5f 6e |er, movi|e_copy_n|
|00000580| 75 6d 62 65 72 00 25 50 | 61 72 65 6e 74 41 74 74 |umber.%P|arentAtt|
|00000590| 28 25 46 69 65 6c 64 4e | 61 6d 65 29 00 50 61 72 |(%FieldN|ame).Par|
|000005a0| 65 6e 74 50 4b 44 65 63 | 6c 00 05 00 25 50 61 72 |entPKDec|l...%Par|
|000005b0| 65 6e 74 50 4b 44 65 63 | 6c 28 29 00 42 61 73 69 |entPKDec|l().Basi|
|000005c0| 63 20 53 79 6e 74 61 78 | 3a 0d 0a 25 50 61 72 65 |c Syntax|:..%Pare|
|000005d0| 6e 74 50 4b 44 65 63 6c | 28 3c 6f 6c 64 20 70 72 |ntPKDecl|(<old pr|
|000005e0| 65 66 69 78 3e 2c 3c 6e | 65 77 20 70 72 65 66 69 |efix>,<n|ew prefi|
|000005f0| 78 3e 29 0d 0a 0d 0a 42 | 61 73 69 63 20 53 79 6e |x>)....B|asic Syn|
|00000600| 74 61 78 20 45 78 61 6d | 70 6c 65 3a 0d 0a 25 50 |tax Exam|ple:..%P|
|00000610| 61 72 65 6e 74 50 4b 44 | 65 63 6c 28 2c 69 6e 73 |arentPKD|ecl(,ins|
|00000620| 65 72 74 65 64 29 0d 0a | 45 78 70 61 6e 73 69 6f |erted)..|Expansio|
|00000630| 6e 3a 0d 0a 69 6e 73 65 | 72 74 65 64 5f 6d 61 73 |n:..inse|rted_mas|
|00000640| 74 65 72 5f 6e 75 6d 62 | 65 72 20 69 6e 74 65 67 |ter_numb|er integ|
|00000650| 65 72 2c 0d 0a 69 6e 73 | 65 72 74 65 64 5f 6d 6f |er,..ins|erted_mo|
|00000660| 76 69 65 5f 63 6f 70 79 | 5f 6e 75 6d 62 65 72 20 |vie_copy|_number |
|00000670| 69 6e 74 65 67 65 72 0d | 0a 0d 0a 46 75 6c 6c 20 |integer.|...Full |
|00000680| 53 79 6e 74 61 78 3a 0d | 0a 25 50 61 72 65 6e 74 |Syntax:.|.%Parent|
|00000690| 50 4b 44 65 63 6c 28 3c | 6f 6c 64 20 70 72 65 66 |PKDecl(<|old pref|
|000006a0| 69 78 3e 2c 3c 6e 65 77 | 20 70 72 65 66 69 78 3e |ix>,<new| prefix>|
|000006b0| 2c 3c 73 65 70 61 72 61 | 74 6f 72 3e 29 0d 0a 0d |,<separa|tor>)...|
|000006c0| 0a 46 75 6c 6c 20 53 79 | 6e 74 61 78 20 45 78 61 |.Full Sy|ntax Exa|
|000006d0| 6d 70 6c 65 3a 0d 0a 25 | 50 61 72 65 6e 74 50 4b |mple:..%|ParentPK|
|000006e0| 44 65 63 6c 28 2c 69 6e | 73 65 72 74 65 64 2c 22 |Decl(,in|serted,"|
|000006f0| 2c 20 22 29 0d 0a 45 78 | 70 61 6e 73 69 6f 6e 3a |, ")..Ex|pansion:|
|00000700| 0d 0a 69 6e 73 65 72 74 | 65 64 5f 6d 61 73 74 65 |..insert|ed_maste|
|00000710| 72 5f 6e 75 6d 62 65 72 | 20 69 6e 74 65 67 65 72 |r_number| integer|
|00000720| 2c 0d 0a 69 6e 73 65 72 | 74 65 64 5f 6d 6f 76 69 |,..inser|ted_movi|
|00000730| 65 5f 63 6f 70 79 5f 6e | 75 6d 62 65 72 20 69 6e |e_copy_n|umber in|
|00000740| 74 65 67 65 72 00 25 50 | 61 72 65 6e 74 50 4b 44 |teger.%P|arentPKD|
|00000750| 65 63 6c 28 2c 69 6e 73 | 65 72 74 65 64 29 00 50 |ecl(,ins|erted).P|
|00000760| 61 72 65 6e 74 50 4b 00 | 06 00 25 50 61 72 65 6e |arentPK.|..%Paren|
|00000770| 74 50 4b 28 29 00 42 61 | 73 69 63 20 53 79 6e 74 |tPK().Ba|sic Synt|
|00000780| 61 78 3a 0d 0a 25 50 61 | 72 65 6e 74 50 4b 28 29 |ax:..%Pa|rentPK()|
|00000790| 0d 0a 0d 0a 42 61 73 69 | 63 20 53 79 6e 74 61 78 |....Basi|c Syntax|
|000007a0| 20 45 78 61 6d 70 6c 65 | 3a 0d 0a 25 50 61 72 65 | Example|:..%Pare|
|000007b0| 6e 74 50 4b 28 29 0d 0a | 45 78 70 61 6e 73 69 6f |ntPK()..|Expansio|
|000007c0| 6e 3a 0d 0a 6d 61 73 74 | 65 72 5f 6e 75 6d 62 65 |n:..mast|er_numbe|
|000007d0| 72 2c 20 6d 6f 76 69 65 | 5f 63 6f 70 79 5f 6e 75 |r, movie|_copy_nu|
|000007e0| 6d 62 65 72 2c 2e 2e 2e | 0d 0a 0d 0a 46 75 6c 6c |mber,...|....Full|
|000007f0| 20 53 79 6e 74 61 78 3a | 0d 0a 25 50 61 72 65 6e | Syntax:|..%Paren|
|00000800| 74 50 4b 28 3c 73 65 70 | 61 72 61 74 6f 72 3e 2c |tPK(<sep|arator>,|
|00000810| 3c 66 75 6e 63 74 69 6f | 6e 3e 2c 3c 70 72 65 66 |<functio|n>,<pref|
|00000820| 69 78 3e 29 0d 0a 0d 0a | 46 75 6c 6c 20 53 79 6e |ix>)....|Full Syn|
|00000830| 74 61 78 20 45 78 61 6d | 70 6c 65 3a 0d 0a 25 50 |tax Exam|ple:..%P|
|00000840| 61 72 65 6e 74 50 4b 28 | 22 20 6f 72 20 22 2c 66 |arentPK(|" or ",f|
|00000850| 2c 25 50 61 72 65 6e 74 | 29 0d 0a 45 78 70 61 6e |,%Parent|)..Expan|
|00000860| 73 69 6f 6e 3a 0d 0a 66 | 28 4d 4f 56 49 45 5f 43 |sion:..f|(MOVIE_C|
|00000870| 4f 50 59 2e 6d 61 73 74 | 65 72 5f 6e 75 6d 62 65 |OPY.mast|er_numbe|
|00000880| 72 29 20 6f 72 0d 0a 66 | 28 4d 4f 56 49 45 5f 43 |r) or..f|(MOVIE_C|
|00000890| 4f 50 59 2c 6d 6f 76 69 | 65 5f 63 6f 70 79 5f 6e |OPY,movi|e_copy_n|
|000008a0| 75 6d 62 65 72 29 2e 2e | 2e 00 25 50 61 72 65 6e |umber)..|..%Paren|
|000008b0| 74 50 4b 28 22 20 6f 72 | 20 22 29 00 50 61 72 65 |tPK(" or| ").Pare|
|000008c0| 6e 74 4e 4b 44 65 63 6c | 00 07 00 25 50 61 72 65 |ntNKDecl|...%Pare|
|000008d0| 6e 74 4e 4b 44 65 63 6c | 28 29 00 42 61 73 69 63 |ntNKDecl|().Basic|
|000008e0| 20 53 79 6e 74 61 78 3a | 0d 0a 25 50 61 72 65 6e | Syntax:|..%Paren|
|000008f0| 74 4e 4b 44 65 63 6c 28 | 3c 6f 6c 64 20 70 72 65 |tNKDecl(|<old pre|
|00000900| 66 69 78 3e 2c 3c 6e 65 | 77 20 70 72 65 66 69 78 |fix>,<ne|w prefix|
|00000910| 3e 29 0d 0a 0d 0a 42 61 | 73 69 63 20 53 79 6e 74 |>)....Ba|sic Synt|
|00000920| 61 78 20 45 78 61 6d 70 | 6c 65 3a 0d 0a 25 50 61 |ax Examp|le:..%Pa|
|00000930| 72 65 6e 74 4e 4b 44 65 | 63 6c 28 2c 69 6e 73 65 |rentNKDe|cl(,inse|
|00000940| 72 74 65 64 29 0d 0a 45 | 78 70 61 6e 73 69 6f 6e |rted)..E|xpansion|
|00000950| 3a 0d 0a 69 6e 73 65 72 | 74 65 64 5f 67 65 6e 65 |:..inser|ted_gene|
|00000960| 72 61 6c 5f 63 6f 6e 64 | 69 74 69 6f 6e 20 76 61 |ral_cond|ition va|
|00000970| 72 63 68 61 72 28 31 30 | 29 0d 0a 46 75 6c 6c 20 |rchar(10|)..Full |
|00000980| 53 79 6e 74 61 78 3a 0d | 0a 25 50 61 72 65 6e 74 |Syntax:.|.%Parent|
|00000990| 4e 4b 44 65 63 6c 28 3c | 6f 6c 64 20 70 72 65 66 |NKDecl(<|old pref|
|000009a0| 69 78 3e 2c 3c 6e 65 77 | 20 70 72 65 66 69 78 3e |ix>,<new| prefix>|
|000009b0| 2c 3c 73 65 70 61 72 61 | 74 6f 72 3e 29 0d 0a 0d |,<separa|tor>)...|
|000009c0| 0a 46 75 6c 6c 20 53 79 | 6e 74 61 78 20 45 78 61 |.Full Sy|ntax Exa|
|000009d0| 6d 70 6c 65 3a 0d 0a 25 | 50 61 72 65 6e 74 4e 4b |mple:..%|ParentNK|
|000009e0| 44 65 63 6c 28 2c 69 6e | 73 65 72 74 65 64 2c 22 |Decl(,in|serted,"|
|000009f0| 2c 20 22 29 0d 0a 45 78 | 70 61 6e 73 69 6f 6e 3a |, ")..Ex|pansion:|
|00000a00| 0d 0a 69 6e 73 65 72 74 | 65 64 5f 67 65 6e 65 72 |..insert|ed_gener|
|00000a10| 61 6c 5f 63 6f 6e 64 69 | 74 69 6f 6e 20 76 61 72 |al_condi|tion var|
|00000a20| 63 68 61 72 28 31 30 29 | 00 25 50 61 72 65 6e 74 |char(10)|.%Parent|
|00000a30| 4e 4b 44 65 63 6c 28 2c | 69 6e 73 65 72 74 65 64 |NKDecl(,|inserted|
|00000a40| 29 00 50 61 72 65 6e 74 | 4e 4b 00 08 00 25 50 61 |).Parent|NK...%Pa|
|00000a50| 72 65 6e 74 4e 4b 28 29 | 00 42 61 73 69 63 20 53 |rentNK()|.Basic S|
|00000a60| 79 6e 74 61 78 3a 0d 0a | 25 50 61 72 65 6e 74 4e |yntax:..|%ParentN|
|00000a70| 4b 28 29 0d 0a 0d 0a 42 | 61 73 69 63 20 53 79 6e |K()....B|asic Syn|
|00000a80| 74 61 78 20 45 78 61 6d | 70 6c 65 3a 0d 0a 25 50 |tax Exam|ple:..%P|
|00000a90| 61 72 65 6e 74 4e 4b 28 | 29 0d 0a 45 78 70 61 6e |arentNK(|)..Expan|
|00000aa0| 73 69 6f 6e 3a 0d 0a 67 | 65 6e 65 72 61 6c 5f 63 |sion:..g|eneral_c|
|00000ab0| 6f 6e 64 69 74 69 6f 6e | 0d 0a 0d 0a 46 75 6c 6c |ondition|....Full|
|00000ac0| 20 53 79 6e 74 61 78 3a | 0d 0a 25 50 61 72 65 6e | Syntax:|..%Paren|
|00000ad0| 74 4e 4b 28 3c 73 65 70 | 61 72 61 74 6f 72 3e 2c |tNK(<sep|arator>,|
|00000ae0| 3c 66 75 6e 63 74 69 6f | 6e 3e 2c 3c 70 72 65 66 |<functio|n>,<pref|
|00000af0| 69 78 3e 29 0d 0a 0d 0a | 46 75 6c 6c 20 53 79 6e |ix>)....|Full Syn|
|00000b00| 74 61 78 20 45 78 61 6d | 70 6c 65 3a 0d 0a 25 50 |tax Exam|ple:..%P|
|00000b10| 61 72 65 6e 74 4e 4b 28 | 22 20 6f 72 20 22 2c 75 |arentNK(|" or ",u|
|00000b20| 70 64 61 74 65 2c 25 50 | 61 72 65 6e 74 29 0d 0a |pdate,%P|arent)..|
|00000b30| 45 78 70 61 6e 73 69 6f | 6e 3a 0d 0a 75 70 64 61 |Expansio|n:..upda|
|00000b40| 74 65 28 4d 4f 56 49 45 | 5f 43 4f 50 59 2e 67 65 |te(MOVIE|_COPY.ge|
|00000b50| 6e 65 72 61 6c 5f 63 6f | 6e 64 69 74 69 6f 6e 29 |neral_co|ndition)|
|00000b60| 00 25 50 61 72 65 6e 74 | 4e 4b 28 29 00 43 68 69 |.%Parent|NK().Chi|
|00000b70| 6c 64 50 4b 44 65 63 6c | 00 09 00 25 43 68 69 6c |ldPKDecl|...%Chil|
|00000b80| 64 50 4b 44 65 63 6c 28 | 29 00 42 61 73 69 63 20 |dPKDecl(|).Basic |
|00000b90| 53 79 6e 74 61 78 3a 0d | 0a 25 43 68 69 6c 64 50 |Syntax:.|.%ChildP|
|00000ba0| 4b 44 65 63 6c 28 3c 6f | 6c 64 20 70 72 65 66 69 |KDecl(<o|ld prefi|
|00000bb0| 78 3e 2c 3c 6e 65 77 20 | 70 72 65 66 69 78 3e 29 |x>,<new |prefix>)|
|00000bc0| 0d 0a 0d 0a 42 61 73 69 | 63 20 53 79 6e 74 61 78 |....Basi|c Syntax|
|00000bd0| 20 45 78 61 6d 70 6c 65 | 3a 0d 0a 25 43 68 69 6c | Example|:..%Chil|
|00000be0| 64 50 4b 44 65 63 6c 28 | 2c 69 6e 73 65 72 74 65 |dPKDecl(|,inserte|
|00000bf0| 64 29 0d 0a 45 78 70 61 | 6e 73 69 6f 6e 3a 0d 0a |d)..Expa|nsion:..|
|00000c00| 69 6e 73 65 72 74 65 64 | 5f 72 65 6e 74 69 6e 67 |inserted|_renting|
|00000c10| 5f 63 75 73 74 6f 6d 65 | 72 20 69 6e 74 65 67 65 |_custome|r intege|
|00000c20| 72 2c 0d 0a 69 6e 73 65 | 72 74 65 64 5f 6d 61 73 |r,..inse|rted_mas|
|00000c30| 74 65 72 5f 6e 75 6d 62 | 65 72 20 69 6e 74 65 67 |ter_numb|er integ|
|00000c40| 65 72 2c 0d 0a 69 6e 73 | 65 72 74 65 64 5f 6d 6f |er,..ins|erted_mo|
|00000c50| 76 69 65 5f 63 6f 70 79 | 5f 6e 75 6d 62 65 72 20 |vie_copy|_number |
|00000c60| 69 6e 74 65 67 65 72 2c | 0d 0a 69 6e 73 65 72 74 |integer,|..insert|
|00000c70| 65 64 5f 72 65 6e 74 61 | 6c 5f 72 65 63 6f 72 64 |ed_renta|l_record|
|00000c80| 5f 64 61 74 65 20 64 61 | 74 65 74 69 6d 65 0d 0a |_date da|tetime..|
|00000c90| 0d 0a 46 75 6c 6c 20 53 | 79 6e 74 61 78 3a 0d 0a |..Full S|yntax:..|
|00000ca0| 25 43 68 69 6c 64 50 4b | 44 65 63 6c 28 3c 6f 6c |%ChildPK|Decl(<ol|
|00000cb0| 64 20 70 72 65 66 69 78 | 3e 2c 3c 6e 65 77 20 70 |d prefix|>,<new p|
|00000cc0| 72 65 66 69 78 3e 2c 3c | 73 65 70 61 72 61 74 6f |refix>,<|separato|
|00000cd0| 72 3e 29 0d 0a 0d 0a 46 | 75 6c 6c 20 53 79 6e 74 |r>)....F|ull Synt|
|00000ce0| 61 78 20 45 78 61 6d 70 | 6c 65 3a 0d 0a 25 43 68 |ax Examp|le:..%Ch|
|00000cf0| 69 6c 64 50 4b 44 65 63 | 6c 28 2c 69 6e 73 65 72 |ildPKDec|l(,inser|
|00000d00| 74 65 64 2c 22 2c 20 22 | 29 0d 0a 45 78 70 61 6e |ted,", "|)..Expan|
|00000d10| 73 69 6f 6e 3a 0d 0a 69 | 6e 73 65 72 74 65 64 5f |sion:..i|nserted_|
|00000d20| 72 65 6e 74 69 6e 67 5f | 63 75 73 74 6f 6d 65 72 |renting_|customer|
|00000d30| 20 69 6e 74 65 67 65 72 | 2c 0d 0a 69 6e 73 65 72 | integer|,..inser|
|00000d40| 74 65 64 5f 6d 61 73 74 | 65 72 5f 6e 75 6d 62 65 |ted_mast|er_numbe|
|00000d50| 72 20 69 6e 74 65 67 65 | 72 2c 0d 0a 69 6e 73 65 |r intege|r,..inse|
|00000d60| 72 74 65 64 5f 6d 6f 76 | 69 65 5f 63 6f 70 79 5f |rted_mov|ie_copy_|
|00000d70| 6e 75 6d 62 65 72 20 69 | 6e 74 65 67 65 72 2c 0d |number i|nteger,.|
|00000d80| 0a 69 6e 73 65 72 74 65 | 64 5f 72 65 6e 74 61 6c |.inserte|d_rental|
|00000d90| 5f 72 65 63 6f 72 64 5f | 64 61 74 65 20 64 61 74 |_record_|date dat|
|00000da0| 65 74 69 6d 65 0d 0a 00 | 25 43 68 69 6c 64 50 4b |etime...|%ChildPK|
|00000db0| 44 65 63 6c 28 64 65 6c | 65 74 65 64 2c 69 6e 73 |Decl(del|eted,ins|
|00000dc0| 65 72 74 65 64 29 00 43 | 68 69 6c 64 50 4b 00 0a |erted).C|hildPK..|
|00000dd0| 00 25 43 68 69 6c 64 50 | 4b 28 29 00 42 61 73 69 |.%ChildP|K().Basi|
|00000de0| 63 20 53 79 6e 74 61 78 | 3a 0d 0a 25 43 68 69 6c |c Syntax|:..%Chil|
|00000df0| 64 50 4b 28 29 0d 0a 0d | 0a 42 61 73 69 63 20 53 |dPK()...|.Basic S|
|00000e00| 79 6e 74 61 78 20 45 78 | 61 6d 70 6c 65 3a 0d 0a |yntax Ex|ample:..|
|00000e10| 25 43 68 69 6c 64 50 4b | 28 29 0d 0a 45 78 70 61 |%ChildPK|()..Expa|
|00000e20| 6e 73 69 6f 6e 3a 0d 0a | 72 65 6e 74 69 6e 67 5f |nsion:..|renting_|
|00000e30| 63 75 73 74 6f 6d 65 72 | 2c 20 6d 61 73 74 65 72 |customer|, master|
|00000e40| 5f 6e 75 6d 62 65 72 2c | 20 6d 6f 76 69 65 5f 63 |_number,| movie_c|
|00000e50| 6f 70 79 5f 6e 75 6d 62 | 65 72 2c 20 72 65 6e 74 |opy_numb|er, rent|
|00000e60| 61 6c 5f 72 65 63 6f 72 | 64 5f 64 61 74 65 0d 0a |al_recor|d_date..|
|00000e70| 0d 0a 46 75 6c 6c 20 53 | 79 6e 74 61 78 3a 0d 0a |..Full S|yntax:..|
|00000e80| 25 43 68 69 6c 64 50 4b | 28 3c 73 65 70 61 72 61 |%ChildPK|(<separa|
|00000e90| 74 6f 72 3e 2c 3c 66 75 | 6e 63 74 69 6f 6e 3e 2c |tor>,<fu|nction>,|
|00000ea0| 3c 70 72 65 66 69 78 3e | 29 0d 0a 0d 0a 46 75 6c |<prefix>|)....Ful|
|00000eb0| 6c 20 53 79 6e 74 61 78 | 20 45 78 61 6d 70 6c 65 |l Syntax| Example|
|00000ec0| 3a 0d 0a 25 43 68 69 6c | 64 50 4b 28 22 20 6f 72 |:..%Chil|dPK(" or|
|00000ed0| 20 22 2c 66 2c 25 43 68 | 69 6c 64 29 0d 0a 45 78 | ",f,%Ch|ild)..Ex|
|00000ee0| 70 61 6e 73 69 6f 6e 3a | 0d 0a 66 28 4d 4f 56 49 |pansion:|..f(MOVI|
|00000ef0| 45 5f 52 45 4e 54 41 4c | 5f 52 45 43 4f 52 2e 72 |E_RENTAL|_RECOR.r|
|00000f00| 65 6e 74 69 6e 67 5f 63 | 75 73 74 6f 6d 65 72 29 |enting_c|ustomer)|
|00000f10| 20 6f 72 0d 0a 66 28 4d | 4f 56 49 45 5f 52 45 4e | or..f(M|OVIE_REN|
|00000f20| 54 41 4c 5f 52 45 43 4f | 52 2e 6d 61 73 74 65 72 |TAL_RECO|R.master|
|00000f30| 5f 6e 75 6d 62 65 72 29 | 20 6f 72 0d 0a 66 28 4d |_number)| or..f(M|
|00000f40| 4f 56 49 45 5f 52 45 4e | 54 41 4c 5f 52 45 43 4f |OVIE_REN|TAL_RECO|
|00000f50| 52 2e 6d 6f 76 69 65 5f | 63 6f 70 79 5f 6e 75 6d |R.movie_|copy_num|
|00000f60| 62 65 72 29 20 6f 72 0d | 0a 66 28 4d 4f 56 49 45 |ber) or.|.f(MOVIE|
|00000f70| 5f 52 45 4e 54 41 4c 5f | 52 45 43 4f 52 2e 72 65 |_RENTAL_|RECOR.re|
|00000f80| 6e 74 61 6c 5f 72 65 63 | 6f 72 64 5f 64 61 74 65 |ntal_rec|ord_date|
|00000f90| 29 00 25 43 68 69 6c 64 | 50 4b 28 22 20 6f 72 20 |).%Child|PK(" or |
|00000fa0| 22 29 00 43 68 69 6c 64 | 46 4b 44 65 63 6c 00 0b |").Child|FKDecl..|
|00000fb0| 00 25 43 68 69 6c 64 46 | 4b 44 65 63 6c 28 29 00 |.%ChildF|KDecl().|
|00000fc0| 42 61 73 69 63 20 53 79 | 6e 74 61 78 3a 0d 0a 25 |Basic Sy|ntax:..%|
|00000fd0| 43 68 69 6c 64 46 4b 44 | 65 63 6c 28 3c 6f 6c 64 |ChildFKD|ecl(<old|
|00000fe0| 20 70 72 65 66 69 78 3e | 2c 3c 6e 65 77 20 70 72 | prefix>|,<new pr|
|00000ff0| 65 66 69 78 3e 29 0d 0a | 0d 0a 42 61 73 69 63 20 |efix>)..|..Basic |
|00001000| 53 79 6e 74 61 78 20 45 | 78 61 6d 70 6c 65 3a 0d |Syntax E|xample:.|
|00001010| 0a 25 43 68 69 6c 64 46 | 4b 44 65 63 6c 28 2c 69 |.%ChildF|KDecl(,i|
|00001020| 6e 73 65 72 74 65 64 29 | 0d 0a 45 78 70 61 6e 73 |nserted)|..Expans|
|00001030| 69 6f 6e 3a 0d 0a 69 6e | 73 65 72 74 65 64 5f 6d |ion:..in|serted_m|
|00001040| 61 73 74 65 72 5f 6e 75 | 6d 62 65 72 20 69 6e 74 |aster_nu|mber int|
|00001050| 65 67 65 72 2c 0d 0a 69 | 6e 73 65 72 74 65 64 5f |eger,..i|nserted_|
|00001060| 6d 6f 76 69 65 5f 63 6f | 70 79 5f 6e 75 6d 62 65 |movie_co|py_numbe|
|00001070| 72 20 69 6e 74 65 67 65 | 72 0d 0a 0d 0a 46 75 6c |r intege|r....Ful|
|00001080| 6c 20 53 79 6e 74 61 78 | 3a 0d 0a 25 43 68 69 6c |l Syntax|:..%Chil|
|00001090| 64 46 4b 44 65 63 6c 28 | 3c 6f 6c 64 20 70 72 65 |dFKDecl(|<old pre|
|000010a0| 66 69 78 3e 2c 3c 6e 65 | 77 20 70 72 65 66 69 78 |fix>,<ne|w prefix|
|000010b0| 3e 2c 3c 73 65 70 61 72 | 61 74 6f 72 3e 29 0d 0a |>,<separ|ator>)..|
|000010c0| 0d 0a 46 75 6c 6c 20 53 | 79 6e 74 61 78 20 45 78 |..Full S|yntax Ex|
|000010d0| 61 6d 70 6c 65 3a 0d 0a | 25 43 68 69 6c 64 46 4b |ample:..|%ChildFK|
|000010e0| 44 65 63 6c 28 2c 69 6e | 73 65 72 74 65 64 2c 22 |Decl(,in|serted,"|
|000010f0| 2c 20 22 29 0d 0a 45 78 | 70 61 6e 73 69 6f 6e 3a |, ")..Ex|pansion:|
|00001100| 0d 0a 69 6e 73 65 72 74 | 65 64 5f 6d 61 73 74 65 |..insert|ed_maste|
|00001110| 72 5f 6e 75 6d 62 65 72 | 20 69 6e 74 65 67 65 72 |r_number| integer|
|00001120| 2c 0d 0a 69 6e 73 65 72 | 74 65 64 5f 6d 6f 76 69 |,..inser|ted_movi|
|00001130| 65 5f 63 6f 70 79 5f 6e | 75 6d 62 65 72 20 69 6e |e_copy_n|umber in|
|00001140| 74 65 67 65 72 00 25 43 | 68 69 6c 64 46 4b 44 65 |teger.%C|hildFKDe|
|00001150| 63 6c 28 2c 69 6e 73 65 | 72 74 65 64 29 00 43 68 |cl(,inse|rted).Ch|
|00001160| 69 6c 64 46 4b 00 0c 00 | 25 43 68 69 6c 64 46 4b |ildFK...|%ChildFK|
|00001170| 28 29 00 42 61 73 69 63 | 20 53 79 6e 74 61 78 3a |().Basic| Syntax:|
|00001180| 0d 0a 25 43 68 69 6c 64 | 46 4b 28 29 0d 0a 0d 0a |..%Child|FK()....|
|00001190| 42 61 73 69 63 20 53 79 | 6e 74 61 78 20 45 78 61 |Basic Sy|ntax Exa|
|000011a0| 6d 70 6c 65 3a 0d 0a 25 | 43 68 69 6c 64 46 4b 28 |mple:..%|ChildFK(|
|000011b0| 29 0d 0a 45 78 70 61 6e | 73 69 6f 6e 3a 0d 0a 6d |)..Expan|sion:..m|
|000011c0| 61 73 74 65 72 5f 6e 75 | 6d 62 65 72 2c 20 6d 6f |aster_nu|mber, mo|
|000011d0| 76 69 65 5f 63 6f 70 79 | 5f 6e 75 6d 62 65 72 2c |vie_copy|_number,|
|000011e0| 2e 2e 2e 0d 0a 0d 0a 46 | 75 6c 6c 20 53 79 6e 74 |.......F|ull Synt|
|000011f0| 61 78 3a 0d 0a 25 43 68 | 69 6c 64 46 4b 28 3c 73 |ax:..%Ch|ildFK(<s|
|00001200| 65 70 61 72 61 74 6f 72 | 3e 2c 3c 66 75 6e 63 74 |eparator|>,<funct|
|00001210| 69 6f 6e 3e 2c 3c 70 72 | 65 66 69 78 3e 29 0d 0a |ion>,<pr|efix>)..|
|00001220| 0d 0a 46 75 6c 6c 20 53 | 79 6e 74 61 78 20 45 78 |..Full S|yntax Ex|
|00001230| 61 6d 70 6c 65 3a 0d 0a | 25 43 68 69 6c 64 46 4b |ample:..|%ChildFK|
|00001240| 28 22 20 6f 72 20 22 2c | 66 2c 25 43 68 69 6c 64 |(" or ",|f,%Child|
|00001250| 29 0d 0a 45 78 70 61 6e | 73 69 6f 6e 3a 0d 0a 66 |)..Expan|sion:..f|
|00001260| 28 4d 4f 56 49 45 5f 52 | 45 4e 54 41 4c 5f 52 45 |(MOVIE_R|ENTAL_RE|
|00001270| 43 4f 52 2e 6d 61 73 74 | 65 72 5f 6e 75 6d 62 65 |COR.mast|er_numbe|
|00001280| 72 29 20 6f 72 0d 0a 66 | 28 4d 4f 56 49 45 5f 52 |r) or..f|(MOVIE_R|
|00001290| 45 4e 54 41 4c 5f 52 45 | 43 4f 52 2e 6d 6f 76 69 |ENTAL_RE|COR.movi|
|000012a0| 65 5f 63 6f 70 79 5f 6e | 75 6d 62 65 72 29 2e 2e |e_copy_n|umber)..|
|000012b0| 2e 00 25 43 68 69 6c 64 | 46 4b 28 22 20 6f 72 20 |..%Child|FK(" or |
|000012c0| 22 29 00 43 68 69 6c 64 | 4e 4b 44 65 63 6c 00 0d |").Child|NKDecl..|
|000012d0| 00 25 43 68 69 6c 64 4e | 4b 44 65 63 6c 28 29 00 |.%ChildN|KDecl().|
|000012e0| 42 61 73 69 63 20 53 79 | 6e 74 61 78 3a 0d 0a 25 |Basic Sy|ntax:..%|
|000012f0| 43 68 69 6c 64 4e 4b 44 | 65 63 6c 28 3c 6f 6c 64 |ChildNKD|ecl(<old|
|00001300| 20 70 72 65 66 69 78 3e | 2c 3c 6e 65 77 20 70 72 | prefix>|,<new pr|
|00001310| 65 66 69 78 3e 29 0d 0a | 0d 0a 42 61 73 69 63 20 |efix>)..|..Basic |
|00001320| 53 79 6e 74 61 78 20 45 | 78 61 6d 70 6c 65 3a 0d |Syntax E|xample:.|
|00001330| 0a 25 43 68 69 6c 64 4e | 4b 44 65 63 6c 28 2c 69 |.%ChildN|KDecl(,i|
|00001340| 6e 73 65 72 74 65 64 29 | 0d 0a 45 78 70 61 6e 73 |nserted)|..Expans|
|00001350| 69 6f 6e 3a 0d 0a 69 6e | 73 65 72 74 65 64 5f 72 |ion:..in|serted_r|
|00001360| 65 6e 74 61 6c 5f 64 61 | 74 65 20 64 61 74 65 74 |ental_da|te datet|
|00001370| 69 6d 65 2c 0d 0a 69 6e | 73 65 72 74 65 64 5f 64 |ime,..in|serted_d|
|00001380| 75 65 5f 64 61 74 65 20 | 64 61 74 65 74 69 6d 65 |ue_date |datetime|
|00001390| 2c 2e 2e 2e 0d 0a 0d 0a | 46 75 6c 6c 20 53 79 6e |,.......|Full Syn|
|000013a0| 74 61 78 3a 0d 0a 25 43 | 68 69 6c 64 4e 4b 44 65 |tax:..%C|hildNKDe|
|000013b0| 63 6c 28 3c 6f 6c 64 20 | 70 72 65 66 69 78 3e 2c |cl(<old |prefix>,|
|000013c0| 3c 6e 65 77 20 70 72 65 | 66 69 78 3e 2c 3c 73 65 |<new pre|fix>,<se|
|000013d0| 70 61 72 61 74 6f 72 3e | 29 0d 0a 0d 0a 46 75 6c |parator>|)....Ful|
|000013e0| 6c 20 53 79 6e 74 61 78 | 20 45 78 61 6d 70 6c 65 |l Syntax| Example|
|000013f0| 3a 0d 0a 25 43 68 69 6c | 64 4e 4b 44 65 63 6c 28 |:..%Chil|dNKDecl(|
|00001400| 2c 69 6e 73 65 72 74 65 | 64 2c 22 2c 20 22 29 0d |,inserte|d,", ").|
|00001410| 0a 45 78 70 61 6e 73 69 | 6f 6e 3a 0d 0a 69 6e 73 |.Expansi|on:..ins|
|00001420| 65 72 74 65 64 5f 72 65 | 6e 74 61 6c 5f 64 61 74 |erted_re|ntal_dat|
|00001430| 65 20 64 61 74 65 74 69 | 6d 65 2c 0d 0a 69 6e 73 |e dateti|me,..ins|
|00001440| 65 72 74 65 64 5f 64 75 | 65 5f 64 61 74 65 20 64 |erted_du|e_date d|
|00001450| 61 74 65 74 69 6d 65 2c | 2e 2e 2e 00 25 43 68 69 |atetime,|....%Chi|
|00001460| 6c 64 4e 4b 44 65 63 6c | 28 64 65 6c 65 74 65 64 |ldNKDecl|(deleted|
|00001470| 2c 69 6e 73 65 72 74 65 | 64 29 00 43 68 69 6c 64 |,inserte|d).Child|
|00001480| 4e 4b 00 0e 00 25 43 68 | 69 6c 64 4e 4b 28 29 00 |NK...%Ch|ildNK().|
|00001490| 42 61 73 69 63 20 53 79 | 6e 74 61 78 3a 0d 0a 25 |Basic Sy|ntax:..%|
|000014a0| 43 68 69 6c 64 4e 4b 28 | 29 0d 0a 0d 0a 42 61 73 |ChildNK(|)....Bas|
|000014b0| 69 63 20 53 79 6e 74 61 | 78 20 45 78 61 6d 70 6c |ic Synta|x Exampl|
|000014c0| 65 3a 0d 0a 25 43 68 69 | 6c 64 4e 4b 28 29 0d 0a |e:..%Chi|ldNK()..|
|000014d0| 45 78 70 61 6e 73 69 6f | 6e 3a 0d 0a 72 65 6e 74 |Expansio|n:..rent|
|000014e0| 61 6c 5f 64 61 74 65 2c | 20 64 75 65 5f 64 61 74 |al_date,| due_dat|
|000014f0| 65 2c 2e 2e 2e 0d 0a 0d | 0a 46 75 6c 6c 20 53 79 |e,......|.Full Sy|
|00001500| 6e 74 61 78 3a 0d 0a 25 | 43 68 69 6c 64 4e 4b 28 |ntax:..%|ChildNK(|
|00001510| 3c 73 65 70 61 72 61 74 | 6f 72 3e 2c 3c 66 75 6e |<separat|or>,<fun|
|00001520| 63 74 69 6f 6e 3e 2c 3c | 70 72 65 66 69 78 3e 29 |ction>,<|prefix>)|
|00001530| 0d 0a 0d 0a 46 75 6c 6c | 20 53 79 6e 74 61 78 20 |....Full| Syntax |
|00001540| 45 78 61 6d 70 6c 65 3a | 0d 0a 25 43 68 69 6c 64 |Example:|..%Child|
|00001550| 4e 4b 28 22 20 6f 72 20 | 22 2c 75 70 64 61 74 65 |NK(" or |",update|
|00001560| 2c 25 43 68 69 6c 64 29 | 0d 0a 45 78 70 61 6e 73 |,%Child)|..Expans|
|00001570| 69 6f 6e 3a 0d 0a 75 70 | 64 61 74 65 28 4d 4f 56 |ion:..up|date(MOV|
|00001580| 49 45 5f 52 45 4e 54 41 | 4c 5f 52 45 43 4f 52 2e |IE_RENTA|L_RECOR.|
|00001590| 72 65 6e 74 61 6c 5f 64 | 61 74 65 29 20 6f 72 0d |rental_d|ate) or.|
|000015a0| 0a 75 70 64 61 74 65 28 | 4d 4f 56 49 45 5f 52 45 |.update(|MOVIE_RE|
|000015b0| 4e 54 41 4c 5f 52 45 43 | 4f 52 2e 64 75 65 5f 64 |NTAL_REC|OR.due_d|
|000015c0| 61 74 65 29 20 6f 72 2e | 2e 2e 00 25 43 68 69 6c |ate) or.|...%Chil|
|000015d0| 64 4e 4b 28 22 2c 22 2c | 2c 69 6e 73 65 72 74 65 |dNK(",",|,inserte|
|000015e0| 64 5f 29 00 4e 6f 74 6e | 75 6c 6c 46 4b 00 0f 00 |d_).Notn|ullFK...|
|000015f0| 25 4e 6f 74 6e 75 6c 6c | 46 4b 28 29 00 42 61 73 |%Notnull|FK().Bas|
|00001600| 69 63 20 53 79 6e 74 61 | 78 3a 0d 0a 25 4e 6f 74 |ic Synta|x:..%Not|
|00001610| 6e 75 6c 6c 46 4b 28 3c | 63 68 69 6c 64 20 74 61 |nullFK(<|child ta|
|00001620| 62 6c 65 3e 2c 3c 6e 6f | 74 20 6e 75 6c 6c 20 65 |ble>,<no|t null e|
|00001630| 78 70 72 65 73 73 69 6f | 6e 3e 29 0d 0a 0d 0a 42 |xpressio|n>)....B|
|00001640| 61 73 69 63 20 53 79 6e | 74 61 78 20 45 78 61 6d |asic Syn|tax Exam|
|00001650| 70 6c 65 3a 0d 0a 25 4e | 6f 74 6e 75 6c 6c 46 4b |ple:..%N|otnullFK|
|00001660| 28 25 43 68 69 6c 64 2c | 22 69 73 20 6e 6f 74 20 |(%Child,|"is not |
|00001670| 6e 75 6c 6c 20 61 6e 64 | 22 29 0d 0a 45 78 70 61 |null and|")..Expa|
|00001680| 6e 73 69 6f 6e 3a 0d 0a | 4d 4f 56 49 45 5f 52 45 |nsion:..|MOVIE_RE|
|00001690| 4e 54 41 4c 5f 52 45 43 | 4f 52 2e 6d 61 73 74 65 |NTAL_REC|OR.maste|
|000016a0| 72 5f 6e 75 6d 62 65 72 | 20 69 73 20 6e 6f 74 20 |r_number| is not |
|000016b0| 6e 75 6c 6c 20 61 6e 64 | 0d 0a 4d 4f 56 49 45 5f |null and|..MOVIE_|
|000016c0| 52 45 4e 54 41 4c 5f 52 | 45 43 4f 52 2e 6d 6f 76 |RENTAL_R|ECOR.mov|
|000016d0| 69 65 5f 63 6f 70 79 5f | 6e 75 6d 62 65 72 20 69 |ie_copy_|number i|
|000016e0| 73 20 6e 6f 74 20 6e 75 | 6c 6c 20 61 6e 64 2e 2e |s not nu|ll and..|
|000016f0| 2e 0d 0a 0d 0a 46 75 6c | 6c 20 53 79 6e 74 61 78 |.....Ful|l Syntax|
|00001700| 3a 0d 0a 25 4e 6f 74 6e | 75 6c 6c 46 4b 28 3c 63 |:..%Notn|ullFK(<c|
|00001710| 68 69 6c 64 20 74 61 62 | 6c 65 3e 2c 3c 6e 6f 74 |hild tab|le>,<not|
|00001720| 20 6e 75 6c 6c 20 65 78 | 70 72 65 73 73 69 6f 6e | null ex|pression|
|00001730| 3e 2c 3c 70 72 65 66 69 | 78 3e 2c 3c 73 65 70 61 |>,<prefi|x>,<sepa|
|00001740| 72 61 74 6f 72 3e 29 0d | 0a 0d 0a 46 75 6c 6c 20 |rator>).|...Full |
|00001750| 53 79 6e 74 61 78 20 45 | 78 61 6d 70 6c 65 3a 0d |Syntax E|xample:.|
|00001760| 0a 25 4e 6f 74 6e 75 6c | 6c 46 4b 28 25 43 68 69 |.%Notnul|lFK(%Chi|
|00001770| 6c 64 2c 22 69 73 20 6e | 75 6c 6c 22 2c 22 77 68 |ld,"is n|ull","wh|
|00001780| 65 72 65 22 2c 22 20 6f | 72 22 29 0d 0a 45 78 70 |ere"," o|r")..Exp|
|00001790| 61 6e 73 69 6f 6e 3a 0d | 0a 77 68 65 72 65 0d 0a |ansion:.|.where..|
|000017a0| 20 20 4d 4f 56 49 45 5f | 52 45 4e 54 41 4c 5f 52 | MOVIE_|RENTAL_R|
|000017b0| 45 43 4f 52 2e 6d 61 73 | 74 65 72 5f 6e 75 6d 62 |ECOR.mas|ter_numb|
|000017c0| 65 72 20 69 73 20 6e 75 | 6c 6c 20 6f 72 0d 0a 20 |er is nu|ll or.. |
|000017d0| 20 4d 4f 56 49 45 5f 52 | 45 4e 54 41 4c 5f 52 45 | MOVIE_R|ENTAL_RE|
|000017e0| 43 4f 52 2e 6d 6f 76 69 | 65 5f 63 6f 70 79 5f 6e |COR.movi|e_copy_n|
|000017f0| 75 6d 62 65 72 20 69 73 | 20 6e 75 6c 6c 00 25 4e |umber is| null.%N|
|00001800| 6f 74 6e 75 6c 6c 46 4b | 28 25 43 68 69 6c 64 2c |otnullFK|(%Child,|
|00001810| 22 69 73 20 6e 6f 74 20 | 6e 75 6c 6c 20 61 6e 64 |"is not |null and|
|00001820| 22 29 00 43 68 69 6c 64 | 50 61 72 61 6d 44 65 63 |").Child|ParamDec|
|00001830| 6c 00 10 00 25 43 68 69 | 6c 64 50 61 72 61 6d 44 |l...%Chi|ldParamD|
|00001840| 65 63 6c 28 29 00 42 61 | 73 69 63 20 53 79 6e 74 |ecl().Ba|sic Synt|
|00001850| 61 78 3a 0d 0a 25 43 68 | 69 6c 64 50 61 72 61 6d |ax:..%Ch|ildParam|
|00001860| 44 65 63 6c 28 3c 6f 6c | 64 20 70 72 65 66 69 78 |Decl(<ol|d prefix|
|00001870| 3e 2c 3c 6e 65 77 20 70 | 72 65 66 69 78 3e 29 0d |>,<new p|refix>).|
|00001880| 0a 0d 0a 42 61 73 69 63 | 20 53 79 6e 74 61 78 20 |...Basic| Syntax |
|00001890| 45 78 61 6d 70 6c 65 3a | 0d 0a 25 43 68 69 6c 64 |Example:|..%Child|
|000018a0| 50 61 72 61 6d 44 65 63 | 6c 28 2c 69 6e 73 65 72 |ParamDec|l(,inser|
|000018b0| 74 65 64 29 0d 0a 45 78 | 70 61 6e 73 69 6f 6e 3a |ted)..Ex|pansion:|
|000018c0| 0d 0a 69 6e 73 65 72 74 | 65 64 5f 6d 61 73 74 65 |..insert|ed_maste|
|000018d0| 72 5f 6e 75 6d 62 65 72 | 20 69 6e 74 65 67 65 72 |r_number| integer|
|000018e0| 2c 0d 0a 69 6e 73 65 72 | 74 65 64 5f 6d 6f 76 69 |,..inser|ted_movi|
|000018f0| 65 5f 63 6f 70 79 5f 6e | 75 6d 62 65 72 20 69 6e |e_copy_n|umber in|
|00001900| 74 65 67 65 72 2c 0d 0a | 69 6e 73 65 72 74 65 64 |teger,..|inserted|
|00001910| 5f 67 65 6e 65 72 61 6c | 5f 63 6f 6e 64 69 74 69 |_general|_conditi|
|00001920| 6f 6e 20 76 61 72 63 68 | 61 72 28 31 30 29 0d 0a |on varch|ar(10)..|
|00001930| 0d 0a 46 75 6c 6c 20 53 | 79 6e 74 61 78 3a 0d 0a |..Full S|yntax:..|
|00001940| 25 43 68 69 6c 64 50 61 | 72 61 6d 44 65 63 6c 28 |%ChildPa|ramDecl(|
|00001950| 3c 6f 6c 64 20 70 72 65 | 66 69 78 3e 2c 3c 6e 65 |<old pre|fix>,<ne|
|00001960| 77 20 70 72 65 66 69 78 | 3e 2c 3c 73 65 70 61 72 |w prefix|>,<separ|
|00001970| 61 74 6f 72 3e 29 0d 0a | 0d 0a 46 75 6c 6c 20 53 |ator>)..|..Full S|
|00001980| 79 6e 74 61 78 20 45 78 | 61 6d 70 6c 65 3a 0d 0a |yntax Ex|ample:..|
|00001990| 25 43 68 69 6c 64 50 61 | 72 61 6d 44 65 63 6c 28 |%ChildPa|ramDecl(|
|000019a0| 2c 69 6e 73 65 72 74 65 | 64 2c 22 2c 20 22 29 0d |,inserte|d,", ").|
|000019b0| 0a 45 78 70 61 6e 73 69 | 6f 6e 3a 0d 0a 69 6e 73 |.Expansi|on:..ins|
|000019c0| 65 72 74 65 64 5f 6d 61 | 73 74 65 72 5f 6e 75 6d |erted_ma|ster_num|
|000019d0| 62 65 72 20 69 6e 74 65 | 67 65 72 2c 0d 0a 69 6e |ber inte|ger,..in|
|000019e0| 73 65 72 74 65 64 5f 6d | 6f 76 69 65 5f 63 6f 70 |serted_m|ovie_cop|
|000019f0| 79 5f 6e 75 6d 62 65 72 | 20 69 6e 74 65 67 65 72 |y_number| integer|
|00001a00| 2c 0d 0a 69 6e 73 65 72 | 74 65 64 5f 67 65 6e 65 |,..inser|ted_gene|
|00001a10| 72 61 6c 5f 63 6f 6e 64 | 69 74 69 6f 6e 20 76 61 |ral_cond|ition va|
|00001a20| 72 63 68 61 72 28 31 30 | 29 00 25 43 68 69 6c 64 |rchar(10|).%Child|
|00001a30| 50 61 72 61 6d 44 65 63 | 6c 28 64 65 6c 65 74 65 |ParamDec|l(delete|
|00001a40| 64 2c 69 6e 73 65 72 74 | 65 64 29 00 50 61 72 65 |d,insert|ed).Pare|
|00001a50| 6e 74 50 61 72 61 6d 44 | 65 63 6c 00 11 00 25 50 |ntParamD|ecl...%P|
|00001a60| 61 72 65 6e 74 50 61 72 | 61 6d 44 65 63 6c 28 29 |arentPar|amDecl()|
|00001a70| 00 42 61 73 69 63 20 53 | 79 6e 74 61 78 3a 0d 0a |.Basic S|yntax:..|
|00001a80| 25 50 61 72 65 6e 74 50 | 61 72 61 6d 44 65 63 6c |%ParentP|aramDecl|
|00001a90| 28 3c 6f 6c 64 20 70 72 | 65 66 69 78 3e 2c 3c 6e |(<old pr|efix>,<n|
|00001aa0| 65 77 20 70 72 65 66 69 | 78 3e 29 0d 0a 0d 0a 42 |ew prefi|x>)....B|
|00001ab0| 61 73 69 63 20 53 79 6e | 74 61 78 20 45 78 61 6d |asic Syn|tax Exam|
|00001ac0| 70 6c 65 3a 0d 0a 25 50 | 61 72 65 6e 74 50 61 72 |ple:..%P|arentPar|
|00001ad0| 61 6d 44 65 63 6c 28 2c | 69 6e 73 65 72 74 65 64 |amDecl(,|inserted|
|00001ae0| 29 0d 0a 45 78 70 61 6e | 73 69 6f 6e 3a 0d 0a 69 |)..Expan|sion:..i|
|00001af0| 6e 73 65 72 74 65 64 5f | 6d 61 73 74 65 72 5f 6e |nserted_|master_n|
|00001b00| 75 6d 62 65 72 20 69 6e | 74 65 67 65 72 2c 0d 0a |umber in|teger,..|
|00001b10| 69 6e 73 65 72 74 65 64 | 5f 6d 6f 76 69 65 5f 63 |inserted|_movie_c|
|00001b20| 6f 70 79 5f 6e 75 6d 62 | 65 72 20 69 6e 74 65 67 |opy_numb|er integ|
|00001b30| 65 72 2c 0d 0a 69 6e 73 | 65 72 74 65 64 5f 67 65 |er,..ins|erted_ge|
|00001b40| 6e 65 72 61 6c 5f 63 6f | 6e 64 69 74 69 6f 6e 20 |neral_co|ndition |
|00001b50| 76 61 72 63 68 61 72 28 | 31 30 29 0d 0a 0d 0a 46 |varchar(|10)....F|
|00001b60| 75 6c 6c 20 53 79 6e 74 | 61 78 3a 0d 0a 25 50 61 |ull Synt|ax:..%Pa|
|00001b70| 72 65 6e 74 50 61 72 61 | 6d 44 65 63 6c 28 3c 6f |rentPara|mDecl(<o|
|00001b80| 6c 64 20 70 72 65 66 69 | 78 3e 2c 3c 6e 65 77 20 |ld prefi|x>,<new |
|00001b90| 70 72 65 66 69 78 3e 2c | 3c 73 65 70 61 72 61 74 |prefix>,|<separat|
|00001ba0| 6f 72 3e 29 0d 0a 0d 0a | 46 75 6c 6c 20 53 79 6e |or>)....|Full Syn|
|00001bb0| 74 61 78 20 45 78 61 6d | 70 6c 65 3a 0d 0a 25 50 |tax Exam|ple:..%P|
|00001bc0| 61 72 65 6e 74 50 61 72 | 61 6d 44 65 63 6c 28 2c |arentPar|amDecl(,|
|00001bd0| 69 6e 73 65 72 74 65 64 | 2c 22 2c 20 22 29 0d 0a |inserted|,", ")..|
|00001be0| 45 78 70 61 6e 73 69 6f | 6e 3a 0d 0a 69 6e 73 65 |Expansio|n:..inse|
|00001bf0| 72 74 65 64 5f 6d 61 73 | 74 65 72 5f 6e 75 6d 62 |rted_mas|ter_numb|
|00001c00| 65 72 20 69 6e 74 65 67 | 65 72 2c 0d 0a 69 6e 73 |er integ|er,..ins|
|00001c10| 65 72 74 65 64 5f 6d 6f | 76 69 65 5f 63 6f 70 79 |erted_mo|vie_copy|
|00001c20| 5f 6e 75 6d 62 65 72 20 | 69 6e 74 65 67 65 72 2c |_number |integer,|
|00001c30| 0d 0a 69 6e 73 65 72 74 | 65 64 5f 67 65 6e 65 72 |..insert|ed_gener|
|00001c40| 61 6c 5f 63 6f 6e 64 69 | 74 69 6f 6e 20 76 61 72 |al_condi|tion var|
|00001c50| 63 68 61 72 28 31 30 29 | 00 25 50 61 72 65 6e 74 |char(10)|.%Parent|
|00001c60| 50 61 72 61 6d 44 65 63 | 6c 28 64 65 6c 65 74 65 |ParamDec|l(delete|
|00001c70| 64 2c 69 6e 73 65 72 74 | 65 64 29 00 00 a5 00 |d,insert|ed).... |
+--------+-------------------------+-------------------------+--------+--------+